import './assets/main.css'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
// 引入 vant全局样式
import 'vant/lib/index.css'
// 按需导入Vant的van-nav-bar组件
import { NavBar } from 'vant'
// 引入 style文件夹下的main.scss
import './style/main.scss'

const app = createApp(App)

// 注册van-nav-bar组件
app.component('van-nav-bar', NavBar)

app.use(createPinia())
app.use(router)

app.mount('#app')